#include <cstdio>
#include <algorithm>
#include <functional>
using namespace std;

int a[105];

int main() {
	int n;
	scanf("%d", &n);
	for (int i = 0; i < n; ++i) scanf("%d", a + i);
	sort(a, a + n, greater<int>());
	for (int i = 0; i < n; ++i) printf("%d ", a[i]);
	printf("\n");
	return 0;
}
